package com.byzx.wine.dao;

import java.util.List;
import java.util.Map;

import com.byzx.wine.po.Syrole;

public interface SyroleMapper {
	
    int deleteByPrimaryKey(Integer id);

    int insert(Syrole record);

    int insertSelective(Syrole record);

//    Syrole selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Syrole record);

    int updateByPrimaryKey(Syrole record);
    public Map<String,Object> selectByPrimaryKey(Integer id);
    
    List<Map<String, Object>> findRole();
}